* {
    margin: 0;
    padding: 0;
}

.container {
    width: 1200px;
    margin: 0 auto;
}

/**
页头部分
*/
#head {
    height: 110px;
    padding-top: 50px;
    margin-bottom: 35px;

    .logo {
        float: left;
        margin-right: 118px;

        img {
            height: 75px;
            width: 215px;
        }
    }

    .findinput {
        float: left;
        margin-right: 20px;

        form {
            width: 528px;
            height: 46px;
            border: 2px solid #43240c;
            border-radius: 19px;
            position: relative;

            span {
                color: #4f2e1c;
                font-size: 20px;

                position: absolute;
                top: 12px;
                left: 10px;
            }

            input {
                font-size: 16px;
                color: #757575;

                padding-left: 30px;
                width: 366px;
                height: 46px;

                border: none;
                outline: none;
                border-radius: 19px;
            }

            button {
                width: 124px;
                height: 40px;
                background-color: #fee44e;

                border: none;
                border-radius: 18px;
            }
        }
    }

    .icfont {
        a {
            text-decoration: none;
            float: left;
            margin-left: 30px;

            span {
                font-size: 40px;
                color: #ff6363;
            }

            p {
                color: #877a73;
                font-size: 12px;
            }
        }
    }
}

/*
导航部分
*/
#nav {
    width: 100%;
    height: 46px;
    min-width: 1200px;
    background-color: #43240c;

    ul {
        list-style: none;

        li {
            width: 220px;
            height: 46px;

            text-align: center;
            line-height: 46px;
            color: #ffffff;
            font-size: 16px;
            float: left;

            cursor: pointer;

            &:hover {
                background-color: #fee44e;
                color: #43240c;
            }
        }
    }
}

.active {
    background-color: #fee44e;
    color: #43240c !important;
}

/*
商品详细信息
*/
#details {
    height: 470px;
    padding-top:30px;

    //放大镜部分
    .detailsleft {
        height: 450px;
        width: 400px;
        float: left;

        .topbox {
            height: 400px;
            width: 400px;
            position: relative;

            ul {
                list-style: none;
                position: relative;

                li {
                    height: 400px;
                    width: 400px;
                    position: absolute;
                    top: 0;
                    left: 0;
                    display: none;

                    img {
                        width: 100%;
                        height: 100%;
                    }
                }
            }

            .glass {
                width: 200px;
                height: 200px;
                background-color: #c9cf6c;
                opacity: .5;
                position: absolute;
                top: 0;
                left: 0;
                pointer-events: none;
                display: none;
            }
        }

        .buttombox {
            ol {
                list-style: none;
                display: flex;
                justify-content: space-between;

                li {
                    width: 50px;
                    height: 50px;
                    box-sizing: border-box;

                    img {
                        width: 100%;
                        height: 100%;
                    }
                }
            }
        }
    }

    .detailsright {
        float: left;
        position: relative;

        .bigGlass {
            width: 400px;
            height: 400px;
            margin-left: 50px;
            display: none;

            ul {
                list-style: none;

                li {
                    width: 400px;
                    height: 400px;
                    position: relative;
                    display: none;
                    overflow: hidden;

                    img {
                        width: 800px;
                        height: 800px;
                        position: absolute;
                        top: 0;
                        left: 0;
                        z-index: 5;
                    }
                }
            }
        }

        .moredetail {
            height: 450px;
            width:540px;
            position: absolute;
            top: 0;
            left: 20px;

            .moredetailboxtop {
                height: 145px;

                span {
                    float: left;
                    width: 40px;
                    height: 20px;

                    line-height: 20px;
                    font-size: 16px;
                    text-align: center;
                    color: #877a73;

                    margin-top:10px;
                    margin-right: 10px;
                    
                    border: 1px solid #877a73;
                    border-radius: 2px;
                }
                p{
                    width: 540px;
                    font-size: 20px;
                    line-height: 40px;
                    color: #272423;
                }
            }
            .moredetailpricebox{
                padding-top: 20px;
                padding-left:10px;
                height: 100px;
                background-color: rgb(237, 241, 240);

                P:first-child{
                    font-size: 16px;
                    color: #757575;
                    text-decoration:line-through;
                    margin-bottom: 20px;
                }
                P:last-child{
                    span:first-child{
                        font-size: 20px;
                        color: #e93434;
                    }
                    span:nth-child(2){
                        font-size: 30px;
                        color: #e93434;
                        margin-right:20px;
                    }
                    span:nth-child(3){
                        font-size: 16px;
                        color: #eb4c4c;
                        border: 1px solid #e93434;
                        border-radius: 2px;
                    }
                    span:last-child{
                        float: right;
                        font-size: 16px;
                        color: rgb(177, 170, 161);
                        margin-right:30px;
                    }
                }
            }
            .moredetailboxbuttom{
                height: 120px;
                padding-top: 20px;
                p{
                    text-align: right;
                    margin-right: 20px;
                    margin-bottom: 40px;
                    font-size: 14px;
                    color: #eb4c4c;
                }
                button{
                    float: right;
                    width: 160px;
                    height: 50px;
                    background-color: #f14040;
                    color: #ffffff;
                    font-size: 30px;
                    line-height: 40px;
                    text-align: center;
                    border: none;
                    border-radius: 5px;
                }
            }
        }
    }
}

/*
页位部分
*/
footer {
    width: 100%;
    min-width: 1200px;
    height: 240px;
    background-color: #484848;

    .container {
        padding-top: 38px;

        .buttomtop {
            width: 1200px;
            height: 112px;
            display: flex;

            .buttomboxleft {
                margin-left: 35px;
                display: flex;

                img {
                    width: 112px;
                    height: 112px;
                    margin-right: 19px;
                }

                .textline {
                    h3 {
                        font-size: 35px;
                        color: #ffffff;
                        line-height: 51px;
                    }

                    p {
                        margin-left: 10px;
                        font-size: 17px;
                        color: #ffffff;
                        line-height: 26px;
                    }
                }

            }

            .buttomright {
                margin-left: 195px;
                line-height: 112px;
                height: 112px;

                span {
                    color: #ffffff;
                    font-size: 22px;

                }

                a {
                    margin-left: 15px;
                    color: #ffffff;
                    text-decoration: none;

                    &:hover {
                        color: red;
                    }
                }
            }
        }

        .buttomtext {
            margin: 56px auto;
            text-align: center;

            img {
                width: 22px;
            }

            span {
                font-size: 18px;
                line-height: 22px;
                color: #ffffff;
            }
        }
    }
}

/*
放大镜切换样式
*/
.active1 {
    display: block !important;
}

.on {
    border: 1px solid red !important;
}